/*
 * @Author: zxc
 * @Date: 2020-07-23 13:27:55
 * @LastEditTime: 2020-07-23 15:53:02
 * @LastEditors: zxc
 * @Description: rootSaga（根saga），实际上作用就是导出saga
 */

import { all, fork } from "redux-saga/effects";
import user from "./user/user";
const rootSaga = function* () {
  yield all([
    fork(user()),
  ]);
};

export default rootSaga